package GTK;

public final class NetworkProtocol 
{
	//Headers
	public static final String REQUEST_HEADER = "R";
	public static final String NAME_HEADER = "N";
	public static final String PASSWORD_HEADER = "P";
	public static final String ACHIEVEMENT_ID_HEADER = "A";
	
	//Requests
	public static final String CREATE_ACCOUNT_REQUEST = "0";
	public static final String EARN_ACHIEVEMENT_REQUEST = "1";
	public static final String GET_ACHIEVEMENTS_REQUEST = "2";
	
	//Responses
	public static final String WRONG_ACCOUNT_OR_PASSWORD = "-1";
	public static final String SUCCESS = "-2";
	public static final String USER_ALREADY_EXISTS = "-3";
	public static final String INVALID_KEY = "-4";
	public static final String USER_NOT_FOUND = "-5";
	public static final String INVALID_PASSWORD = "-6";
	public static final String ACHIEVEMENT_ALREADY_EARNT = "-7";
	public static final String UNKNOWN_ERROR = "-8";
	
	//Other
	public static final String SERVER_URL = "http://80.216.106.210:8080/GameServer/Service";
}
